Skip to content

feat!: OS agnostic screen reader instance#40

Merged
cmorten merged 1 commit into
mainfrom
feat-screen-reader-agnostic-class
Jun 22, 2026
Merged

feat!: OS agnostic screen reader instance#40
cmorten merged 1 commit into
mainfrom
feat-screen-reader-agnostic-class

Conversation

@cmorten

@cmorten cmorten commented Jun 22, 2026

Copy link
Copy Markdown
Contributor

Issue

Relates to guidepup/guidepup#108.

Details

Introduce Playwright helper test fixture for driving screen readers via a single API that detects the default screen reader for the current OS.

import { screenReaderTest as test } from "@guidepup/playwright";

// screenReader is controlling VoiceOver on macOS and NVDA on windows, using a single API.
test("I can navigate the Guidepup documentation site", async ({ page, screenReader }) => {
  await page.goto("https://www.guidepup.dev", {
    waitUntil: "load",
  });

  await screenReader.navigateToWebContent();
  await screenReader.next();
  await screenReader.next();
  await screenReader.act();
});

Breaking change as relies on a new min version of 0.27.0 for @guidepup/guidepup.

CheckList

  • Has been tested (where required).

@cmorten cmorten changed the title feat: OS agnostic screen reader instance feat!: OS agnostic screen reader instance Jun 22, 2026
@cmorten cmorten merged commit 7c3ac63 into main Jun 22, 2026
23 checks passed
@cmorten cmorten deleted the feat-screen-reader-agnostic-class branch June 22, 2026 21:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant